//
//  PPCustomLabel.m
//  pickpic
//
//  Created by 胡文广 on 2017/6/13.
//  Copyright © 2017年 MicroDream. All rights reserved.
//

#import "PPCustomLabel.h"
@interface PPCustomLabel(){
    UIEdgeInsets _insets;
}
@end
@implementation PPCustomLabel

- (instancetype)initWithFrame:(CGRect)frame insets:(UIEdgeInsets)insets
{
    if (self = [super initWithFrame:frame]) {
        _insets = insets;
    }
    return self;
}


- (void)drawTextInRect:(CGRect)rect
{
    return [super drawTextInRect:UIEdgeInsetsInsetRect(rect,_insets)];
}
@end
